﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Outlook2010Translate
{
    [Serializable]
    public class TranslateResponse : JSONResponse
    {
        public TranslationResponseData responseData = new TranslationResponseData();
    }

    [Serializable]
    public class JSONResponse
    {
        public string responseDetails = null;
        public string responseStatus = null;
    }

    [Serializable]
    public class TranslationResponseData
    {
        public string translatedText;
        public string detectedSourceLanguage;
    }
}
